package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50);comment:用户名"`
	Password string `gorm:"type:varchar(50);comment:密码"`
}
type Novel struct {
	gorm.Model
	NovelName string `gorm:"type:varchar(50);comment:小红书名称"`
	Content   string `gorm:"type:varchar(255);comment:内容"`
	Author    string `gorm:"type:varchar(50);comment:作者"`
}
